package com.qf.bean.article;


import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Article {

  private Integer id;
  private String title;
  private Integer categoryId;
  private String source;
  private String author;
  private String summary;
  private String coverPic;
  private String thumbPic;
  private String tags;
  private String content;
  private String previewUrl;
  private String qrcodeUrl;
  private Integer pvCount;
  private Integer uvCount;
  private Integer commentCount;
  private Integer likeCount;
  private Integer favCount;
  private Integer shareCount;
  private Integer channelTop;
  private Integer homeTop;
  private Integer createUid;
  private String createUname;
  private Integer createTime;
  private Integer submitUid;
  private Integer submitTime;
  private Integer state;
  private Integer stateOrder;
  private Integer lastAuditUid;
  private String lastAuditUsername;
  private Integer lastAuditTime;
  private String lastRejectReason;
  private Integer publishState;
  private Integer publishUid;
  private String publishUname;
  private Integer publishTime;
  private Integer unpublishUid;
  private String unpublishUname;
  private Integer unpublishTime;
  private String unpublishReason;
  private Integer lastUpdateUid;
  private String lastUpdateUname;
  private Integer lastUpdateTime;
  private String seoKeywords;
  private String seoDescription;
  private Integer allowUp;
  private Integer allowFav;
  private ArticleCategory articleCategory;
  private List<ArticleTag> articleTagList;
//  private Member member;


  @Override
  public String toString() {
    return "Article{" +
            "id=" + id +
            ", title='" + title + '\'' +
            ", categoryId=" + categoryId +
            ", source='" + source + '\'' +
            ", author='" + author + '\'' +
            ", summary='" + summary + '\'' +
            ", coverPic='" + coverPic + '\'' +
            ", thumbPic='" + thumbPic + '\'' +
            ", tags='" + tags + '\'' +
            ", content='" + content + '\'' +
            ", previewUrl='" + previewUrl + '\'' +
            ", qrcodeUrl='" + qrcodeUrl + '\'' +
            ", pvCount=" + pvCount +
            ", uvCount=" + uvCount +
            ", commentCount=" + commentCount +
            ", likeCount=" + likeCount +
            ", favCount=" + favCount +
            ", shareCount=" + shareCount +
            ", channelTop=" + channelTop +
            ", homeTop=" + homeTop +
            ", createUid=" + createUid +
            ", createUname='" + createUname + '\'' +
            ", createTime=" + createTime +
            ", submitUid=" + submitUid +
            ", submitTime=" + submitTime +
            ", state=" + state +
            ", stateOrder=" + stateOrder +
            ", lastAuditUid=" + lastAuditUid +
            ", lastAuditUsername='" + lastAuditUsername + '\'' +
            ", lastAuditTime=" + lastAuditTime +
            ", lastRejectReason='" + lastRejectReason + '\'' +
            ", publishState=" + publishState +
            ", publishUid=" + publishUid +
            ", publishUname='" + publishUname + '\'' +
            ", publishTime=" + publishTime +
            ", unpublishUid=" + unpublishUid +
            ", unpublishUname='" + unpublishUname + '\'' +
            ", unpublishTime=" + unpublishTime +
            ", unpublishReason='" + unpublishReason + '\'' +
            ", lastUpdateUid=" + lastUpdateUid +
            ", lastUpdateUname='" + lastUpdateUname + '\'' +
            ", lastUpdateTime=" + lastUpdateTime +
            ", seoKeywords='" + seoKeywords + '\'' +
            ", seoDescription='" + seoDescription + '\'' +
            ", allowUp=" + allowUp +
            ", allowFav=" + allowFav +
            ", articleCategory=" + articleCategory +
            ", articleTagList=" + articleTagList +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Integer getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Integer categoryId) {
    this.categoryId = categoryId;
  }

  public String getSource() {
    return source;
  }

  public void setSource(String source) {
    this.source = source;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }

  public String getSummary() {
    return summary;
  }

  public void setSummary(String summary) {
    this.summary = summary;
  }

  public String getCoverPic() {
    return coverPic;
  }

  public void setCoverPic(String coverPic) {
    this.coverPic = coverPic;
  }

  public String getThumbPic() {
    return thumbPic;
  }

  public void setThumbPic(String thumbPic) {
    this.thumbPic = thumbPic;
  }

  public String getTags() {
    return tags;
  }

  public void setTags(String tags) {
    this.tags = tags;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getPreviewUrl() {
    return previewUrl;
  }

  public void setPreviewUrl(String previewUrl) {
    this.previewUrl = previewUrl;
  }

  public String getQrcodeUrl() {
    return qrcodeUrl;
  }

  public void setQrcodeUrl(String qrcodeUrl) {
    this.qrcodeUrl = qrcodeUrl;
  }

  public Integer getPvCount() {
    return pvCount;
  }

  public void setPvCount(Integer pvCount) {
    this.pvCount = pvCount;
  }

  public Integer getUvCount() {
    return uvCount;
  }

  public void setUvCount(Integer uvCount) {
    this.uvCount = uvCount;
  }

  public Integer getCommentCount() {
    return commentCount;
  }

  public void setCommentCount(Integer commentCount) {
    this.commentCount = commentCount;
  }

  public Integer getLikeCount() {
    return likeCount;
  }

  public void setLikeCount(Integer likeCount) {
    this.likeCount = likeCount;
  }

  public Integer getFavCount() {
    return favCount;
  }

  public void setFavCount(Integer favCount) {
    this.favCount = favCount;
  }

  public Integer getShareCount() {
    return shareCount;
  }

  public void setShareCount(Integer shareCount) {
    this.shareCount = shareCount;
  }

  public Integer getChannelTop() {
    return channelTop;
  }

  public void setChannelTop(Integer channelTop) {
    this.channelTop = channelTop;
  }

  public Integer getHomeTop() {
    return homeTop;
  }

  public void setHomeTop(Integer homeTop) {
    this.homeTop = homeTop;
  }

  public Integer getCreateUid() {
    return createUid;
  }

  public void setCreateUid(Integer createUid) {
    this.createUid = createUid;
  }

  public String getCreateUname() {
    return createUname;
  }

  public void setCreateUname(String createUname) {
    this.createUname = createUname;
  }

  public Integer getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Integer createTime) {
    this.createTime = createTime;
  }

  public Integer getSubmitUid() {
    return submitUid;
  }

  public void setSubmitUid(Integer submitUid) {
    this.submitUid = submitUid;
  }

  public Integer getSubmitTime() {
    return submitTime;
  }

  public void setSubmitTime(Integer submitTime) {
    this.submitTime = submitTime;
  }

  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }

  public Integer getStateOrder() {
    return stateOrder;
  }

  public void setStateOrder(Integer stateOrder) {
    this.stateOrder = stateOrder;
  }

  public Integer getLastAuditUid() {
    return lastAuditUid;
  }

  public void setLastAuditUid(Integer lastAuditUid) {
    this.lastAuditUid = lastAuditUid;
  }

  public String getLastAuditUsername() {
    return lastAuditUsername;
  }

  public void setLastAuditUsername(String lastAuditUsername) {
    this.lastAuditUsername = lastAuditUsername;
  }

  public Integer getLastAuditTime() {
    return lastAuditTime;
  }

  public void setLastAuditTime(Integer lastAuditTime) {
    this.lastAuditTime = lastAuditTime;
  }

  public String getLastRejectReason() {
    return lastRejectReason;
  }

  public void setLastRejectReason(String lastRejectReason) {
    this.lastRejectReason = lastRejectReason;
  }

  public Integer getPublishState() {
    return publishState;
  }

  public void setPublishState(Integer publishState) {
    this.publishState = publishState;
  }

  public Integer getPublishUid() {
    return publishUid;
  }

  public void setPublishUid(Integer publishUid) {
    this.publishUid = publishUid;
  }

  public String getPublishUname() {
    return publishUname;
  }

  public void setPublishUname(String publishUname) {
    this.publishUname = publishUname;
  }

  public Integer getPublishTime() {
    return publishTime;
  }

  public void setPublishTime(Integer publishTime) {
    this.publishTime = publishTime;
  }

  public Integer getUnpublishUid() {
    return unpublishUid;
  }

  public void setUnpublishUid(Integer unpublishUid) {
    this.unpublishUid = unpublishUid;
  }

  public String getUnpublishUname() {
    return unpublishUname;
  }

  public void setUnpublishUname(String unpublishUname) {
    this.unpublishUname = unpublishUname;
  }

  public Integer getUnpublishTime() {
    return unpublishTime;
  }

  public void setUnpublishTime(Integer unpublishTime) {
    this.unpublishTime = unpublishTime;
  }

  public String getUnpublishReason() {
    return unpublishReason;
  }

  public void setUnpublishReason(String unpublishReason) {
    this.unpublishReason = unpublishReason;
  }

  public Integer getLastUpdateUid() {
    return lastUpdateUid;
  }

  public void setLastUpdateUid(Integer lastUpdateUid) {
    this.lastUpdateUid = lastUpdateUid;
  }

  public String getLastUpdateUname() {
    return lastUpdateUname;
  }

  public void setLastUpdateUname(String lastUpdateUname) {
    this.lastUpdateUname = lastUpdateUname;
  }

  public Integer getLastUpdateTime() {
    return lastUpdateTime;
  }

  public void setLastUpdateTime(Integer lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
  }

  public String getSeoKeywords() {
    return seoKeywords;
  }

  public void setSeoKeywords(String seoKeywords) {
    this.seoKeywords = seoKeywords;
  }

  public String getSeoDescription() {
    return seoDescription;
  }

  public void setSeoDescription(String seoDescription) {
    this.seoDescription = seoDescription;
  }

  public Integer getAllowUp() {
    return allowUp;
  }

  public void setAllowUp(Integer allowUp) {
    this.allowUp = allowUp;
  }

  public Integer getAllowFav() {
    return allowFav;
  }

  public void setAllowFav(Integer allowFav) {
    this.allowFav = allowFav;
  }

  public ArticleCategory getArticleCategory() {
    return articleCategory;
  }

  public void setArticleCategory(ArticleCategory articleCategory) {
    this.articleCategory = articleCategory;
  }

  public List<ArticleTag> getArticleTagList() {
    return articleTagList;
  }

  public void setArticleTagList(List<ArticleTag> articleTagList) {
    this.articleTagList = articleTagList;
  }

}
